# 从一个模块导入多个类
from car import Car as C, ElectricCar as E
# as 起别名

# 导入整个模块
# import car 
# 使用：car.Car

# 导入模块内的每个函数和类（不推荐使用）
# from car import *

my_beetle = C('volkswagen', 'beetle', 2019)
print(my_beetle.get_descriptive_name())

my_tesla = E('tesla', 'roadster', 2019)
print(my_tesla.get_descriptive_name())
